import Constant from 'common/constant'
export default function (gameStep) {
  // body...
  switch (gameStep) {
    case "0": // 未开始比赛
      return Constant.game.stage.NOT_OPEN;
    case "1": // 报名中
      return Constant.game.stage.SIGNING_UP;
    case "2": // 报名结束
      return Constant.game.stage.MISSED;
    case "3": // 比赛中
      return Constant.game.stage.FIGHTING;
    case "4": // 比赛结束
      return Constant.game.stage.OVER;
    case "5": // 比赛无效
      return Constant.game.stage.INVALID;
    default:
      return Constant.game.stage.INVALID;
  }
}